package com.hengpeng.itfin.domain.partner.chinapnr;

public enum SignKey
{
	/**
	 * 添加标的
	 */
	AddBidInfo(
			"Version+CmdId+MerCustId+ProId+BorrCustId+BorrTotAmt+YearRate+RetType+BidStartDate+BidEndDate+RetAmt+RetDate+GuarCompId+GuarAmt+ProArea+BgRetUrl+MerPriv+ReqExt"
					.split("\\+"),
			"CmdId+RespCode+MerCustId+ProId+BorrCustId+BorrTotAmt+GuarCompId+GuarAmt+ProArea+BgRetUrl+MerPriv+RespExt"
					.split("\\+")),
	/**
	 * 放款
	 */
	LAON(
			"Version+CmdId+MerCustId+OrdId+OrdDate+OutCustId+TransAmt+Fee+SubOrdId+SubOrdDate+InCustId+DivDetails+FeeObjFlag+IsDefault+IsUnFreeze+UnFreezeOrdId+FreezeTrxId+BgRetUrl+MerPriv+ReqExt"
					.split("\\+"),
			"CmdId+RespCode+MerCustId+OrdId+OrdDate+OutCustId+OutAcctId+TransAmt+Fee+InCustId+InAcctId+SubOrdId+SubOrdDate+FeeObjFlag+IsDefault+IsUnFreeze+UnFreezeOrdId+FreezeTrxId+BgRetUrl+MerPriv+RespExt"
					.split("\\+")),
	/**
	 * 撤标
	 */
	TenderCancle(
			"Version+CmdId+MerCustId+OrdId+OrdDate+TransAmt+UsrCustId+IsUnFreeze+UnFreezeOrdId+FreezeTrxId+RetUrl+BgRetUrl+MerPriv+ReqExt"
					.split("\\+"),
			"CmdId+RespCode+MerCustId+OrdId+OrdDate+TransAmt+UsrCustId+IsUnFreeze+UnFreezeOrdId+FreezeTrxId+RetUrl+BgRetUrl+MerPriv+RespExt"
					.split("\\+")),

	/**
	 * 解冻资金
	 */
	UsrUnFreeze("Version+CmdId+MerCustId+OrdId+OrdDate+TrxId+RetUrl+BgRetUrl+MerPriv".split("\\+"),
			"CmdId+RespCode+MerCustId+OrdId+OrdDate+TrxId+RetUrl+BgRetUrl+MerPriv".split("\\+"));

	private String[] requestKey;

	private String[] responseKey;

	SignKey(String[] reqKey, String[] rspKey)
	{
		this.requestKey = reqKey;
		this.responseKey = rspKey;
	}

	public String[] getRequestKey()
	{
		return requestKey;
	}

	public void setRequestKey(String[] requestKey)
	{
		this.requestKey = requestKey;
	}

	public String[] getResponseKey()
	{
		return responseKey;
	}

	public void setResponseKey(String[] responseKey)
	{
		this.responseKey = responseKey;
	}
}
